% 解决自动换行问题 https://github.com/annProg/PanBook/issues/26#issuecomment-500458739
\makeatletter
\@ifpackageloaded{float}{}{\usepackage{float}}
\@ifpackageloaded{caption}{}{\usepackage{caption}}
\floatstyle{plaintop}
\@ifundefined{c@chapter}{\newfloat{codelisting}{h}{lop}}{\newfloat{codelisting}{h}{lop}[chapter]}
\captionsetup[plaintop]{skip=0pt}
\makeatother

\usepackage{fvextra}
\DefineVerbatimEnvironment{Highlighting}{Verbatim}{breaklines,breakanywhere,fontsize=\small,commandchars=\\\{\}}
